.class public Lnbisdk/qw;
.super Ljava/lang/Object;


# instance fields
.field private xG:I

.field public xH:I


# virtual methods
.method public a(Lnbisdk/mo;)V
    .locals 12

    const/4 v11, 0x1

    const/4 v10, 0x0

    invoke-virtual {v10}, Lnbisdk/ho;->fV()I

    move-result v1

    :cond_0
    :goto_0
    invoke-virtual {v10}, Ljava/util/Hashtable;->size()I

    move-result v0

    sub-int v2, v1, v11

    if-le v0, v2, :cond_4

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-virtual {v10}, Ljava/util/Hashtable;->keys()Ljava/util/Enumeration;

    move-result-object v4

    move-object v5, v10

    move-object v6, v10

    :goto_1
    invoke-interface {v4}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v4}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v7

    invoke-virtual {v10, v7}, Ljava/util/Hashtable;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/mo;

    iget-wide v8, v0, Lnbisdk/mo;->time:J

    cmp-long v8, v8, v2

    if-gez v8, :cond_7

    iget-wide v2, v0, Lnbisdk/mo;->time:J

    iget v0, v0, Lnbisdk/mo;->flags:I

    and-int/lit8 v0, v0, 0x1

    if-nez v0, :cond_6

    move-object v0, v7

    move-object v5, v7

    :goto_2
    move-object v6, v5

    move-object v5, v0

    goto :goto_1

    :cond_1
    if-eqz v5, :cond_3

    move-object v2, v5

    :goto_3
    if-eqz v2, :cond_0

    invoke-virtual {v10, v2}, Ljava/util/Hashtable;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/mo;

    iget v3, v0, Lnbisdk/mo;->flags:I

    and-int/lit8 v3, v3, 0x1

    if-eqz v3, :cond_2

    iget v3, p0, Lnbisdk/qw;->xG:I

    sub-int/2addr v3, v11

    iput v3, p0, Lnbisdk/qw;->xG:I

    :cond_2
    invoke-virtual {v10, v2}, Ljava/util/Hashtable;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    iget v2, p0, Lnbisdk/qw;->xH:I

    add-int/lit8 v2, v2, 0x1

    iput v2, p0, Lnbisdk/qw;->xH:I

    sget-boolean v2, Lnbisdk/bk;->cG:Z

    if-eqz v2, :cond_0

    iget v2, v0, Lnbisdk/mo;->rg:I

    iget v3, v0, Lnbisdk/mo;->rh:I

    iget v0, v0, Lnbisdk/mo;->ri:I

    invoke-static {v2, v3, v0}, Lnbisdk/cq;->b(III)V

    goto :goto_0

    :cond_3
    move-object v2, v6

    goto :goto_3

    :cond_4
    iget v0, p1, Lnbisdk/mo;->rg:I

    iget v1, p1, Lnbisdk/mo;->rh:I

    new-instance v2, Ljava/lang/StringBuffer;

    invoke-direct {v2}, Ljava/lang/StringBuffer;-><init>()V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuffer;->append(I)Ljava/lang/StringBuffer;

    move-result-object v0

    const-string v2, "$"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(I)Ljava/lang/StringBuffer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    iput-wide v1, p1, Lnbisdk/mo;->time:J

    iput v11, p1, Lnbisdk/mo;->flags:I

    invoke-virtual {v10, v0, p1}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v10, v0}, Ljava/util/Hashtable;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v10, v0}, Ljava/util/Hashtable;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    sget-boolean v0, Lnbisdk/bk;->cG:Z

    if-eqz v0, :cond_5

    iget v0, p1, Lnbisdk/mo;->rg:I

    iget v1, p1, Lnbisdk/mo;->rh:I

    iget v2, p1, Lnbisdk/mo;->ri:I

    invoke-static {v0, v1, v2}, Lnbisdk/cq;->a(III)V

    :cond_5
    return-void

    :cond_6
    move-object v0, v5

    move-object v5, v7

    goto :goto_2

    :cond_7
    move-object v0, v5

    move-object v5, v6

    goto :goto_2
.end method

.method public kK()Ljava/util/Hashtable;
    .locals 1

    const/4 v0, 0x0

    return-object v0
.end method
